﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppCommerciauxWinForm.Entity
{
    public class TiersContact
    {
        public int Id;
        public string Nom;
        public string Prenom;
        public string Fonction;
        public string Mail;
        public string TelFixe;
        public string TelPortable;
        public DateTime DateNaissance;
        public int IdTiersSociete;

        public TiersContact(int Id, string Nom, string Prenom, string Fonction, string Mail, string TelFixe, string TelPortable, DateTime DateNaissance, int IdTiersSociete)
        {
            this.Id = Id;
            this.Nom = Nom;
            this.Prenom = Prenom;
            this.Fonction = Fonction;
            this.Mail = Mail;
            this.TelFixe = TelFixe;
            this.TelPortable = TelPortable;
            this.DateNaissance = DateNaissance;
            this.IdTiersSociete = IdTiersSociete;
        }
        public TiersContact(string Nom, string Prenom, string Fonction, string Mail, string TelFixe, string TelPortable, DateTime DateNaissance, int IdTiersSociete)
        {
            this.Nom = Nom;
            this.Prenom = Prenom;
            this.Fonction = Fonction;
            this.Mail = Mail;
            this.TelFixe = TelFixe;
            this.TelPortable = TelPortable;
            this.DateNaissance = DateNaissance;
            this.IdTiersSociete = IdTiersSociete;
        }

        public TiersContact()
        {
            // TODO: Complete member initialization
        }

    }
}
